package com.soulmate.order.data;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author huaiping
 * @date 2/20/23-2:30 PM
 */
@Data
@TableName("soulmate_order")
@Builder
public class OrderDO {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 商品数量
     */
    private Integer productQuantity;
    /**
     * 订单金额
     */
    private Integer orderAmount;
    /**
     * 创建用户
     */
    private String createUser;
    /**
     * 创建时间商品
     */
    private LocalDateTime createTime;
}
